//
//  LogisticsInfoViewCell.m
//  OMS
//
//  Created by goldeney on 14/11/5.
//  Copyright (c) 2014年 ShangHai Goldeneye Techonology Co.,Ltd. All rights reserved.
//

#import "PMCarQueryViewCell.h"

@implementation PMCarQueryViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.opaque = YES;
        // Initialization code
        NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"PMCarQueryViewCell" owner:self options:nil];
        self = [topLevelObjects objectAtIndex:0];
        [self initData];
    }
    return self;
}

- (void)initData
{
    UIBezierPath *maskPath01 = [UIBezierPath bezierPathWithRoundedRect:self.ztLabel.bounds byRoundingCorners:UIRectCornerTopLeft | UIRectCornerTopRight cornerRadii:CGSizeMake(5, 5)];
    CAShapeLayer *maskLayer01 = [[CAShapeLayer alloc] init];
    maskLayer01.frame = self.ztLabel.bounds;
    maskLayer01.path = maskPath01.CGPath;
    self.ztLabel.layer.mask = maskLayer01;
    
    UIBezierPath *maskPath02 = [UIBezierPath bezierPathWithRoundedRect:self.ylLabel.bounds byRoundingCorners:UIRectCornerBottomLeft | UIRectCornerBottomRight cornerRadii:CGSizeMake(3, 3)];
    CAShapeLayer *maskLayer02 = [[CAShapeLayer alloc] init];
    maskLayer02.frame = self.ylLabel.bounds;
    maskLayer02.path = maskPath02.CGPath;
    self.ylLabel.layer.mask = maskLayer02;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
